package com.guoqing.example.streams;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author zhangguoqing
 * @date 2020/9/25
 * Description: TODO
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class User {
    public String id;
    public String name;
    public Integer age;
    public BigDecimal fNum;

    public User(String id, String name, Integer age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }


    public User(String id, String name, Integer age, BigDecimal bigDecimal) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.fNum = bigDecimal;
    }
}
